<?php

namespace Application\Entity;

use Doctrine\ORM\Mapping as ORM;
use Application\Repository\LocationRepository;

/**
 * Comment
 *
 * @ORM\Entity(repositoryClass="Application\Repository\LocationRepository") @ORM\Table(name="location")
 */
class Location
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="bigint", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    public $id;

   
    
    /**
     * @var \Comment
     *
     * @ORM\ManyToOne(targetEntity="Application\Entity\Location")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="parent_id", referencedColumnName="id")
     * })
     */
    public $parent;
    
    /**
     * @var string
     *
     * @ORM\Column(name="label", type="string", length=255, nullable=true)
     */
    public $label;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created_at", type="datetime", nullable=true)
     */
    public $createdAt;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="modified_at", type="datetime", nullable=false)
     */
    public $modifiedAt;

}
